.events-picker {
  font-weight: normal;
  .events-label {
    font-size: 14px;
    color: #777c7c;
    margin-right: 6px;
  }
  .event-select {
    background: #f6f8fa;
    border: 1px solid #a8b7c8;
    padding: 6px 10px;
    display: inline-block;
    outline: 0;
    height: 36px;
    line-height: 20px;
    min-width: 60px;
    font-size: 14px;
    transition: background 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    color: #333;
    vertical-align: middle;
    border-radius: 3px;
    padding-right: 26px;
    position: relative;
    text-align: left;
    cursor: pointer;
    i {
      margin-right: 4px;
    }
    &::before {
      content: '';
      position: absolute;
      display: inline-block;
      right: 8px;
      top: 43%;
      width: 0;
      height: 0;
      vertical-align: middle;
      border-top: 4px dashed;
      border-right: 4px solid transparent;
      border-left: 4px solid transparent;
    }
  }
}

.events-list {
  background-color: #fff;
  width: 220px;
  max-height: 450px;
  overflow-y: auto;
  font-size: 14px;
  text-align: left;
  -webkit-background-clip: padding-box;
  background-clip: padding-box;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 4px;
  -webkit-box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  box-shadow: 0 6px 12px rgb(0 0 0 / 18%);
  z-index: 2000;
  :global {
    .ant-checkbox-wrapper {
      padding: 8px 10px;
      margin: 0;
      width: 100%;
      white-space: nowrap;
      text-overflow: ellipsis;
      &:hover {
        background-color: #eee;
      }
    }
  }
  .events-list-warp {
    position: relative;
  }
  .events-list-search {
    input {
      width: 100%;
      outline: 0;
      box-shadow: none;
      border-radius: 0;
    }
  }
}

:global {
  .dropdown-mask {
    position: fixed;
    z-index: 1999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
}
